using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.DALFactory;
using OgilvyOne.IDAL;
using OgilvyOne.Model;
using System.Collections;
using System.Web.UI.WebControls;

namespace OgilvyOne.BLL
{
    public class HotDownload
    {
        // Methods
        public void delete(int Hot_id, int download_id, string hotspot_title, string hotspot_link)
        {
            OgilvyOne.DALFactory.HotDownload.Create().delete(Hot_id, download_id, hotspot_title, hotspot_link);
        }

        public void Delete(int hotspot_id)
        {
            OgilvyOne.DALFactory.HotDownload.Create().Delete(hotspot_id);
        }

        public void delete_HD(int Hotspot_id)
        {
            OgilvyOne.DALFactory.HotDownload.Create().delete_HD(Hotspot_id);
        }

        public int getcount(int hotspot_id)
        {
            return OgilvyOne.DALFactory.HotDownload.Create().getcount(hotspot_id);
        }

        public string gethotsdownalllist(int hotspot_id)
        {
            return OgilvyOne.DALFactory.HotDownload.Create().gethotsdownalllist(hotspot_id);
        }

        public IList gethotspotdownList(int hotspot_id)
        {
            return OgilvyOne.DALFactory.HotDownload.Create().gethotspotdownList(hotspot_id);
        }

        public string getselecthotspotList(int hotspot_id)
        {
            return OgilvyOne.DALFactory.HotDownload.Create().getselecthotspotList(hotspot_id);
        }

        public void Insert(int Hot_id, int download_id, string hotspot_title, string hotspot_link)
        {
            OgilvyOne.DALFactory.HotDownload.Create().Insert(Hot_id, download_id, hotspot_title, hotspot_link);
        }

        public void Update(HotspotInfo hotsinfo)
        {
            OgilvyOne.DALFactory.HotDownload.Create().Update(hotsinfo);
        }

    }
}
